package com.clh.seckill.pojo;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author clh
 * @since 2021-11-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_order")
public class Order implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private Long userId;

    private Long goodsId;

    /**
     * 收货地址
     */
    private Long deliveryAddrId;

    private String goodsName;

    private BigDecimal goodsPrice;

    private Integer goodsCont;

    /**
     * 下单渠道 1、pc 2、Android 3、ios
     */
    private Integer orderChannel;

    /**
     * 订单状态 0.新建未支付，1.已支付，3.已发货 4、已收货 5、已退款 6.已完成
     */
    private Integer status;

    private Date createDate;

    /**
     * 支付时间
     */
    private Date payDate;

    /**
     * 订单价格
     */
    private BigDecimal orderPrice;


}
